import 'package:app_core/app_core.dart';

// enum DeviceApi with AppApi {
//   binding("/device/add"),
//   list("/device/list"),
//   jobAdd("/job/add"),
//   jobList("/job/list"),
//   jobDel("/job/del"),
//   jobModify("/job/modify"),
//   jobDisableAll("/job/disable/all"),
//   jobEnableAll("/job/enable/all"),
//   modifyBatch("/device/modify/batch"),
//   shareList("/device/share/list"),
//   shareRecv("/device/share/recv"),
//   shareModify("/device/share/modify"),
//   shareDel("/device/share/del"),
//   shareAdd("/device/share/add"),
//   del("/device/del"),
//   firmwareUpdate("/device/firmware/update");
//
//   const DeviceApi(this.path);
//
//   @override
//   NetMethod get method {
//     switch (this) {
//       case DeviceApi.list:
//       case DeviceApi.jobList:
//         return NetMethod.get;
//       default:
//         return NetMethod.post;
//     }
//   }
//
//   @override
//   final String path;
// }
